package com.polaris.live.interface_bag

import com.lxj.xpopup.core.BasePopupView
import com.lxj.xpopup.interfaces.XPopupCallback

/**
 * XpopupCallBackImpl       这个接口是因为Xpopup的callback太多没有用的了所以一个这个增加可读性
 *
 * @author Created by 半仙 on 2023/10/10/010 14:27
 */
interface XpopupCallBackImpl : XPopupCallback {

    override fun onCreated(popupView: BasePopupView) {

    }

    override fun beforeShow(popupView: BasePopupView) {

    }

    override fun onShow(popupView: BasePopupView) {

    }

    override fun onDismiss(popupView: BasePopupView) {

    }

    override fun beforeDismiss(popupView: BasePopupView) {

    }

    override fun onBackPressed(popupView: BasePopupView): Boolean {
        return false
    }

    override fun onKeyBoardStateChanged(popupView: BasePopupView, height: Int) {

    }

    override fun onDrag(popupView: BasePopupView, value: Int, percent: Float, upOrLeft: Boolean) {

    }

    override fun onClickOutside(popupView: BasePopupView) {

    }
}